Component({
  data: {
    selected: '',
    color: "#666",
    selectedColor: "#1296db",
    list: [],
    borderColor: 'white',
  },
  attached() {
  },
  methods: {
    switchTab(e) {
      const data = e.currentTarget.dataset
      const url = data.path
      wx.switchTab({url})
    }
  }
})